<HTML><HEAD><TITLE>statistics</TITLE>
</HEAD><BODY>[ <A HREF="index.html">Development Environment and Global Settings</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>statistics</H1>
Prints information about resource usage and garbage collection.


<DL>
</DL>
<H2>Description</H2>
   Prints information about resource usage and garbage collection on the
   log_output stream.  This information is also provided by
   statistics/2.  Please refer to statistics/2 for a description of the
   statistic items.  Times are displayed in seconds, memory sizes in bytes.

<P>

<H3>Modes and Determinism</H3><UL>
<LI>statistics is det
</UL>
<H2>Examples</H2>
<PRE>
[eclipse]: statistics.

times:                  [0.1, 0.34, 264.57] seconds
session_time:           264.6 seconds
global_stack_used:      1096 bytes
global_stack_allocated: 102400 bytes
global_stack_peak:      102400 bytes
trail_stack_used:       44 bytes
trail_stack_allocated:  16384 bytes
trail_stack_peak:       16384 bytes
control_stack_used:     440 bytes
control_stack_allocated:4096 bytes
control_stack_peak:     4096 bytes
local_stack_used:       280 bytes
local_stack_allocated:  4096 bytes
local_stack_peak:       4096 bytes
shared_heap_allocated:  737280 bytes
shared_heap_used:       711760 bytes
private_heap_allocated: 20480 bytes
private_heap_used:      17328 bytes
gc_number:              0
gc_collected:           0 bytes
gc_area:                0 bytes
gc_ratio:               100.0 %
gc_time:                0.0 seconds
dictionary_entries:     2893
dict_hash_usage:        1601 / 8191
dict_hash_collisions:   200 / 1601
dict_gc_number:         0
dict_gc_time:           0.0 seconds

yes.


</PRE>
<H2>See Also</H2>
<A HREF="../../kernel/env/statistics-2.html">statistics / 2</A>
</BODY></HTML>
